package com.arvts.android.project;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;

public class CommandActivity extends Activity implements OnClickListener {

	ImageView ivSMS, ivNotification;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setContentView(R.layout.activity_command_layout);

		ivSMS = (ImageView) findViewById(R.id.imageView_sms);
		ivNotification = (ImageView) findViewById(R.id.imageView_notification);

		ivSMS.setOnClickListener(this);
		ivNotification.setOnClickListener(this);

	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.imageView_sms:
			Intent intent = new Intent(this, SMSCommandActivity.class);
			startActivity(intent);
			break;
		case R.id.imageView_notification:

			break;
		default:
			break;
		}
	}

}
